<div style="float: left; margin: 20px">
	<a href="." style="text-decoration: none">
		<img src="/img/trollface.gif" width="200" />
	</a>
</div>
<form method="post" enctype="multipart/form-data" style="float: left; margin: 20px; margin-left: 0">
	<div style="float: left">
		<textarea name="text" style="width: 300px; height: 100px; margin-top: 4px"><?php if( !isset($id) ) { print request('text'); } ?></textarea><br />
		<input name="image" type="file" style="margin-bottom: 4px" />
	</div>
	<div style="float: left; margin-left: 20px">
		<?php print recaptcha_get_html('6Lfp7McSAAAAAITMGTIc3zvT4cgBlIxphYqT1lFH') ?>
	</div>
	<div style="clear: both"></div>
	<input name="path" value="<?php print $path ?>" type="hidden" /> 
	<input type="submit" style="width: 120px; height: 30px" />
</form>
<div style="float: left; margin: 20px; margin-left: 0">
	<br />
	<?php if($full) { ?>
	<a href="?path=<?php print $path; if($date) print '&date=true'; if(!$desc) print '&asc=true' ?>" class="link">Normal Query</a>
	<?php } else { ?>
	<a href="?path=<?php print $path ?>&full=true<?php if($date) print '&date=true'; if(!$desc) print '&asc=true' ?>" class="link">Full Path Query</a>
	<?php } ?>
	<br /><br />
	<?php if($date) { ?>
	<a href="?path=<?php print $path ?><?php if($full) print '&full=true'; if(!$desc) print '&asc=true' ?>" class="link">Order By Score</a>
	<?php } else { ?>
	<a href="?path=<?php print $path ?><?php if($full) print '&full=true'; if(!$desc) print '&asc=true' ?>&date=true" class="link">Order By Date</a>
	<?php } ?>
	<br /><br />
	<?php if($desc) { ?>
	<a href="?path=<?php print $path; if($full) print '&full=true'; if($date) print '&date=true' ?>&asc=true" class="link">Order Ascending</a>
	<?php } else { ?>
	<a href="?path=<?php print $path; if($full) print '&full=true'; if($date) print '&date=true' ?>" class="link">Order Descending</a>
	<?php } ?>
</div>
<div style="clear: both"></div>
